home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / mail / readers / mailx-5.000 / mailx-5 / mailx-5.3b / README
Text File  |  1993-06-29  |  5KB  |  109 lines

  1. (Copyright (C) 1993 Ian Jackson.
  2.  Copyright (C) Scott Adkins.
  3.  Copyright (C) The Regents of the University of California, Berkeley.
  4.  
  5.  This program, a derivative work of mailx-5.3a, itself a derivative of
  6.  BSD mailx, both of which are under the BSD copyright, is hereby placed
  7.  under the protection of the GNU General Public Licence, version 2 or
  8.  later, at your option.
  9.  
  10.  See the file COPYING in your Linux distribution and the copyright
  11.  notices at the top of the C source files for more details.
  12.  
  13.  Note that this program comes with NO WARRANTY.
  14.  
  15.    - Ian Jackson <ijackson@nyx.cs.du.edu>, 30th June 1993).
  16.  
  17.  
  18. Well, after getting sick of the original mail program that was supplied by
  19. the SLS distribution, and the fact that I prefer *not* to use menu operated
  20. mail programs such as Elm, I then decided to port the Berkeley Mail program,
  21. aka mailx.  It is much nicer and works pretty well.  I will continue to work
  22. on a few more problems I have found with it before asking Peter to replace
  23. his mail program with this version.
  24.  
  25. I will do my best to support the Linux version of this program.  For any bug
  26. reports or questions, send mail to "sadkins@ohiou.edu".
  27.  
  28. Note that this is a Linux-only version.  I had to change some of the source 
  29. and hack at it for awhile in order to get it to compile and to compile cleanly.
  30. I fixed some problems that I found in the source, some were bad logic errors,
  31. and others were syntax errors that miraculously worked anyway.  I provided the
  32. source for those people who feel the need to compile before installing the 
  33. package.  It should compile without warnings, since I spent a lot of time 
  34. working on this aspect of compilation.  Also, once again stressing that this 
  35. is a Linux-only version, I removed some unecessary files and changed the 
  36. source so that it will no longer compile on other systems.  If you want to
  37. use it for other systems, get the source elsewhere.
  38.  
  39. I make no guarantees as to whether this package will work on your system or
  40. not, but if it doesn't, then recompiling the source for Linux should not be
  41. too bad, since I provided the source.
  42.  
  43.  
  44. To install:
  45.  
  46.   1)  If you are just installing the binaries, then change to the "bin"
  47.         directory (while su or root) and type "make install".  There
  48.         is a statically linked binary (Mail-static), in case you have
  49.         problems with the version of the shared libraries you are using.
  50.         Otherwise I recommend you delete Mail-static and use the
  51.         dynamically linked version - you'll need libc.4.3.3 or above.
  52.  
  53.   2)  If you wish to recompile the sources before installing, then 
  54.         change to the "src" directory and type "make".  Once the sources
  55.         are compiled, then you can type "make install" (while su or root).
  56.         Before compiling, you may wish to look at v7.local.h for some 
  57.         pathnames and definitions.  The binaries will be linked to use
  58.         the shared libraries.  To make them statically linked, just use
  59.         the appropriate CFLAGS line in the Makefile.
  60.  
  61.  
  62. Changes made to source for Linux:
  63.  
  64.   1)  I had to include a copy of a modified /usr/include/sys/wait.h header
  65.         file after I discovered a missing line that should have been in it.
  66.         The line has to do with the wait union, and was necessary for the
  67.         program to compile.
  68.  
  69.   2)  I changed the calls to signal from integer types to void * types 
  70.         with respect to the second argument.
  71.  
  72.   3)  Several functions were not available, so I either changed them or 
  73.         commented them out.  The functions are as follows:
  74.           chsize(), fwalk(), gtty(), zalloc() and maybe some others
  75.  
  76.   4)  I changed the v7.local.h file to have more reasonable names and 
  77.         paths suitable to most people.
  78.  
  79.   5)  Added "set indentprefix" capability to the package, and also included
  80.         it in the default Mail.rc files.
  81.  
  82.   6)  Added code to main() and in lock.c to do allow safe (I hope!)
  83.         installation setgid to group mail.
  84.                - ijackson@nyx.cs.du.edu,  30th June 1993
  85.  
  86.  
  87. What this version expects:
  88.  
  89.   1)  The mail deliverer is /usr/bin/smail.
  90.   2)  The default editor is /usr/bin/vi.
  91.   3)  The default shell is /bin/sh.
  92.   4)  The default pager is /usr/bin/more.
  93.   5)  The mail spool is in /usr/spool/mail.
  94.   6)  It looks for the some files in /usr/lib:
  95.       Mail.rc, Mail.help, and Mail.help.~
  96.  
  97. If you are using sendmail instead of smail, then the easiest thing to do
  98. is make a symbolic link as follows:
  99.  
  100.     cd /usr/bin; ln -s /usr/bin/sendmail smail
  101.  
  102. Otherwise, recompile the source with the correct path (which is the better
  103. option anyway).
  104.  
  105.  
  106. Well, have fun!
  107. Scott Adkins
  108. sadkins@ohiou.edu
  109.